<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--框架必需start-->
<script type="text/javascript" src="/staff_vehicle/js/jquery-1.4.js"></script>
<script type="text/javascript" src="/staff_vehicle/js/framework.js"></script>
<link href="/staff_vehicle/css/import_basic.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" id="skin" prePath="/staff_vehicle/"/>
<!--框架必需end-->

<!--多选下拉框start-->
<script type="text/javascript" src="/staff_vehicle/js/form/multiselect.js"></script>
<!--多选下拉框end-->
<script>

	$(document).ready(function(){
	var a=null;
	a=<%=request.getParameter("p")%>;
	if(a==0){
		alert("操作错误！");
		top.Dialog.close();
	}if(a==1){
		alert("操作成功！");
		top.Dialog.close();
	}
});
</script>
</head>
<body>

	<div id="scrollContent">
		<form action="editStaff!editStaff" name="editStaff" method="post">
			<table class="tableStyle" transMode="true">
				<tr>
					<td>姓：</td>
					<td><input type="text" id="lastName" name="editStaff.lastName"
						value="<s:property value="editStaff.lastName " /> " /></td>
				</tr>
				<tr>
					<td>名：</td>
					<td><input type="text" id="firstName" name="editStaff.firstName"
					value="<s:property value="editStaff.firstName " /> " /></td>
				</tr>
				<tr>
					<td>性别：</td>
					<td><label for="radio-1">男</label>
					<input type="radio" d="radio-1" name="editStaff.sex" value="男" />
						<label for="radio-2">女</label><input
						type="radio" id="radio-2" name="editStaff.sex" value="女" />
					</td>
				</tr>
				<tr>
					<td>婚姻状况：</td>
					<td><label for="radio-3">已婚</label><input type="radio"
						id="radio-3" name="editStaff.marriage" value="已婚" /> <label for="radio-4">未婚</label><input
						type="radio" id="radio-4" name="editStaff.marriage" value="未婚" />
					</td>
				</tr>

				<tr>
					<td>出生日期：</td>
					<td><input type="text" class="date" name="editStaff.birthday"
					value="<s:date name="editStaff.birthday" format="yyyy-MM-dd"/>" id="birthday" /></td>
				</tr>



				<!-- 添加部分star -->
				<tr>
					<td>部门：</td>
					<td><select id="sel" name="departmentName">
							<option value="后勤部">后勤部</option>
							<option value="装备部">装备部</option>
							<option value="政治部">政治部</option>
					</select></td>
				</tr>


				<!-- 添加部分end -->

				<tr>
					<td>学历：</td>
					<td><select id="education" colNum="3" name="editStaff.education">
							<option value="博士毕业">博士毕业</option>
							<option value="博士结业">博士结业</option>
							<option value="博士肄业">博士肄业</option>
							<option selected="selected">硕士毕业</option>
							<option value="硕士结业">硕士结业</option>
							<option value="硕士肄业">硕士肄业</option>
							<option value="相当硕士毕业">相当硕士毕业</option>
							<option value="研究生班毕业">研究生班毕业</option>
							<option value="研究生班结业">研究生班结业</option>
							<option value="研究生班肄业">研究生班肄业</option>
							<option value="本科毕业">本科毕业</option>
							<option value="本科结业">本科结业</option>
							<option value="本科肄业">本科肄业</option>
							<option value="相当本科毕业">相当本科毕业</option>
							<option value="大专毕业">大专毕业</option>
							<option value="大专结业">大专结业</option>
							<option value="大专肄业">大专肄业</option>
							<option value="相当大专毕业">相当大专毕业</option>
							<option value="中专毕业">中专毕业</option>
							<option value="中专结业">中专结业</option>
							<option value="中专肄业">中专肄业</option>
							<option value="相当中专毕业">相当中专毕业</option>
							<option value="其它">其它</option>
					</select>
					</td>
				</tr>



				<!-- 以前的身份证号      改成了      邮箱号 -->
				<tr>
					<td>邮箱号：</td>
					<td><input type="text" name="editStaff.email" id="email"
					value="<s:property value="editStaff.email " /> "
					/></td>
				</tr>
				<tr>
					<td>员工编号：</td>
					<td><input type="text" name="editStaff.staffId" id="OpSId"
					value="<s:property value="editStaff.staffId " /> "
					/></td>
				</tr>

				<tr>
					<td>联系电话：</td>
					<td><input type="text" name="editStaff.staffTel" id="staffTel"
						class=" validate[required,custom[noSpecialCaracters]]"
						value="<s:property value="editStaff.staffTel" />" /><span
						class="star">*</span></td>
				</tr>
				<tr>
					<td>家庭住址：</td>
					<td><input type="text" name="editStaff.address" id="address"
						value="<s:property value="editStaff.address" />" /></td>
				</tr>
				<tr>
					<td>政治面貌：</td>
					<td><input type="text" id="politicsState" name="editStaff.politicsState"
					value="<s:property value="editStaff.politicsState" />"
					/>
					</td>
				</tr>


				<tr>
					<td>上传照片：</td>
					<td><input type="file" name="pic" id="picture" /></td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" value=" 提 交 " /> <input
						type="reset" value=" 重 置 " />
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>